home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Interfaces & Libraries / Interfaces / AIncludes / PictUtil.a < prev    next >
Encoding:
Text File  |  1993-12-02  |  2.1 KB  |  97 lines  |  [TEXT/MPS ]

  1. ;    File:        PictUtil.a
  2. ;
  3. ;    Copyright:    © 1983-1993 by Apple Computer, Inc.
  4. ;                All rights reserved.
  5. ;
  6. ;    Version:    System 7.1 for ETO #11
  7. ;    Created:    Tuesday, March 30, 1993 18:00
  8. ;
  9. ;___________________________________________________________________________
  10.  
  11.     IF &TYPE('__INCLUDINGPICTUTIL__') = 'UNDEFINED' THEN
  12. __IncludingPictUtil__    SET    1
  13.  
  14.  
  15. ;----------------------------------------------------------------------------------------------------
  16.  
  17. ; verbs for the GetPictInfo, GetPixMapInfo, and NewPictInfo calls
  18.  
  19. returnColorTable            EQU  $0001
  20. returnPalette                EQU  $0002
  21. recordComments                EQU  $0004
  22. recordFontInfo                EQU  $0008
  23. suppressBlackAndWhite        EQU  $0010
  24.  
  25.  
  26. ; color pick methods
  27.  
  28. systemMethod                EQU  0
  29. popularMethod                EQU  1
  30. medianMethod                EQU  2
  31.  
  32.  
  33. ; color bank types
  34.  
  35. ColorBankIsCustom            EQU  -1
  36. ColorBankIsExactAnd555        EQU   0
  37. ColorBankIs555                EQU   1
  38.  
  39.  
  40. ;----------------------------------------------------------------------------------------------------
  41.  
  42. CommentSpec                RECORD  0
  43.  
  44. count                    ds.w  1
  45. ID                        ds.w  1
  46.  
  47.                         ENDR
  48.  
  49. ;----------------------------------------------------------------------------------------------------
  50.  
  51. FontSpec                RECORD  0
  52.  
  53. pictFontID                ds.w  1
  54. sysFontID                ds.w  1
  55. size                    ds.l  4
  56. style                    ds.w  1
  57. nameOffset                ds.l  1
  58.  
  59.                         ENDR
  60.  
  61. ;----------------------------------------------------------------------------------------------------
  62.  
  63. PictInfoRecord            RECORD  0
  64.  
  65. version                    ds.w  1
  66. uniqueColors            ds.l  1
  67. thePalette                ds.l  1
  68. theColorTable            ds.l  1
  69. hRes                    ds.l  1
  70. vRes                    ds.l  1
  71. depth                    ds.w  1
  72. sourceRect                ds.w  4
  73. textCount                ds.l  1
  74. lineCount                ds.l  1
  75. rectCount                ds.l  1
  76. rRectCount                ds.l  1
  77. ovalCount                ds.l  1
  78. arcCount                ds.l  1
  79. polyCount                ds.l  1
  80. regionCount                ds.l  1
  81. bitMapCount                ds.l  1
  82. pixMapCount                ds.l  1
  83. commentCount            ds.l  1
  84. uniqueComments            ds.l  1
  85. commentHandle            ds.l  1
  86. uniqueFonts                ds.l  1
  87. fontHandle                ds.l  1
  88. fontNamesHandle            ds.l  1
  89. reserved1                ds.l  1
  90. reserved2                ds.l  1
  91.  
  92.                         ENDR
  93.  
  94. ;----------------------------------------------------------------------------------------------------
  95.  
  96.     ENDIF    ; ...already included
  97.